﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Tradex.ComponentModel;

namespace Tradex.Market {

    /// <summary>
    /// The MarketKey class identifies a specific market instance.
    /// </summary>
    [Serializable ()]
    public sealed class MarketKey : Key<Market> {

        /// <summary>
        /// Constructor taking the identifiesr string as parameter.
        /// </summary>
        /// <param name="market"></param>
        public MarketKey(string market) {
            Market = market;
        }

        /// <summary>
        /// The Market identifier string.
        /// </summary>
        public string Market { get; private set; }

    }
}
